clear

// Get the path of the currently running do-file
local do_file_path `c(pwd)'

// Change the working directory to the location of the do-file
cd "`do_file_path'"

use "proc_data\dist2020-08-04.dta"
rename OBJECTID objectid

keep objectid dist2pri_nga dist2cap_nga dist2bordbhbr
rename dist2pri_nga dist2pri2nga
rename dist2cap_nga dist2cap2nga
rename dist2bordbhbr dist2bordbhbrnew

save "proc_data\DIST.dta", replace
